<meta charset="UTF-8"/>
<title>{{ config('amis.amis_name') }}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

<meta name="keywords" content="{{ config('amis.keywords') }}">
<meta name="description" content="{{ config('amis.description') }}">
<meta name="csrf-token" content="{{ csrf_token() }}">

<link type="image/x-icon" rel="shortcut icon" href="{{ config('amis.logo') }}">

<link rel="stylesheet" title="default" href="{{ asset('storage/amis/sdk.css') }}"/>
<link rel="stylesheet" href="{{ asset('storage/amis/helper.css') }}"/>
<link rel="stylesheet" href="{{ asset('storage/amis/iconfont.css') }}"/>
<link rel="stylesheet" href="{{ asset('storage/amis/fonts/remixicon.css') }}"/>

<script src="{{ asset('storage/amis/sdk.js') }}"></script>
<!-- 更新版本需要重新下载 -->
<script src="{{ asset('storage/amis/expand/vue@2.js') }}"></script>
<script src="{{ asset('storage/amis/expand/history.js') }}"></script>

<style>
    html,
    body,
    .app-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }
    /*  AMIS 主题 CSS 适配文件，根据不同的主题 调整路由*/
    @if(config('amis.amis_theme') == 'antd')
        /* 仅 antd 主题加载 */
        /* 隐藏面包屑 */
        .amis-scope .antd-AppBcn { display: none; }
        /* header 下拉按钮样式 */
        .header-menu .antd-DropDown-menu li>a{color: #666;text-align: center;}
        .header-menu .antd-Button,.header-menu .antd-Button:hover{border:#fff;}
        .antd-Layout-body{position: relative}
        .amis-scope .antd-DropDown-menu{min-width: 100%;}
    @elseif(config('amis.amis_theme') === 'ang')
        .amis-scope .header-menu .a-DropDown-menu li>a{color: #666;text-align: center;}
        .amis-scope .header-menu .a-Button,.amis-scope .header-menu .a-Button:hover{
            border:#fff;background-color: #fff;box-shadow:none;}
        .amis-scope .a-AppBcn { display: none; }
        .amis-scope .a-DropDown-menu{min-width: 100%;}
    @elseif(config('amis.amis_theme') === 'cxd')
        .amis-scope .header-menu .cxd-DropDown-menu li>a{color: #666;text-align: center;}
        .amis-scope .header-menu .cxd-Button,.amis-scope .header-menu .cxd-Button:hover{
            border:var(--Layout-header-bg);background-color:var(--Layout-header-bg) !important;box-shadow:none;}
        .amis-scope .cxd-AppBcn { display: none; }
        .amis-scope .cxd-DropDown-menu{min-width: 100%;}
        .amis-scope .cxd-Layout-headerBar .cxd-Page-body{
            background-color: var(--Layout-header-bg);
            padding: 0;
        }
        :root{
            --Form--horizontal-label-widthSm:5.625rem
        }
    @else
        /* 公共CSS 不管是什么主题 都会加载 */
        html,body,.app-wrapper{position: relative;width: 100%;height:100%;margin: 0;padding: 0;touch-action: pan-y;}
        /* 修复滚动条问题 */
        .amis-scope{overflow-x: visible}
        .a-DropDown-menu{min-width: 100%;}
        :root{
            --Layout--offscreen-width: 50%;
        }
    @endif
</style>




